home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / catinvaders.swf / scripts / frame_111 / PlaceObject2_136_114 / CLIPACTIONRECORD onClipEvent(load).as < prev    next >
Encoding:
Text File  |  2007-03-20  |  319 b   |  19 lines

  1. onClipEvent(load){
  2.    function getx()
  3.    {
  4.       return this._x - this._width / 2;
  5.    }
  6.    function getxx()
  7.    {
  8.       return this._x + this._width / 2;
  9.    }
  10.    function gety()
  11.    {
  12.       return this._y - this._height / 2;
  13.    }
  14.    function getyy()
  15.    {
  16.       return this._y + this._height / 2;
  17.    }
  18. }
  19.